package org.lq.dao;

import java.util.List;

import org.lq.entity.Person;

public interface PersonDao {
	
	List<Person> findAll();
	
	int add(Person p);
	
	int update(Person p);
	
	int delete(int id);
	
	List<Person> likeByName(String name);
	
	List<Person> likeByPerson(Person p);
	

}
